/*
 * @Description: 
 * @Author: 张民鸿
 * @Date: 2021-10-11 11:13:17
 * @FilePath: /cloud-register-business/Users/zhang/Desktop/zhang/Cloud-Registration-Desk/src/pages/welcome/index.tsx
 * @LastEditTime: 2021-10-20 10:57:16
 * @LastEditors: MelodyJerry
 */
import React, { useEffect } from 'react';
import { SAVE_BREADCRUMB } from '~reducers/common';
import { dispatchWithPromise } from '~/utils/util'

export default () => {

    useEffect(() => {
        dispatchWithPromise({ type: SAVE_BREADCRUMB, data: ['首页', '欢迎页'] });
    }, [])

    return <div style={{ fontSize: 20, textAlign: 'center', lineHeight: 3 }}>Welcome!</div>
}